/**
 * 
 */
package com.teamall.web.fpgz.service;

import java.util.List;

import com.teamall.core.common.Page;
import com.teamall.framework.exception.BaseAppException;
import com.teamall.web.fpgz.db.po.CodeVillageInfoPO;

/**
 * <Description> <br>
 * 
 * @author codeCreater<br>
 * @version 1.0<br>
 * @taskId <br>
 * @CreateDate 2014年11月11日 <br>
 * @since V1.0<br>
 * @see com.teamall.web.fpgz.service <br>
 */

public interface ICodeVillageInfoService {

    CodeVillageInfoPO selectByPrimaryKey(Integer key) throws BaseAppException;

    List<CodeVillageInfoPO> selectByArg(CodeVillageInfoPO record) throws BaseAppException;

    Page<CodeVillageInfoPO> selectByArgAndPage(CodeVillageInfoPO record, Page<CodeVillageInfoPO> resultPage)
            throws BaseAppException;

    int add(CodeVillageInfoPO record) throws BaseAppException;

    int update(CodeVillageInfoPO record) throws BaseAppException;

    int delete(CodeVillageInfoPO record) throws BaseAppException;

    /**
     * 查询所有
     * @return
     * @throws BaseAppException
     */
    List<CodeVillageInfoPO> qryAll() throws BaseAppException;
}
